export const tableOption = {
  border: true,
  index: false,
  indexLabel: '序号',
  stripe: false,
  menuAlign: 'center',
  align: 'center',
  refreshBtn: false,
  addBtn: false,
  editBtn: false,
  delBtn: false,
  viewBtn: false,
  header: false,
  menu: true,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [{
    label: '订单基础信息',
    prop: 'info',
    width: '280',
    slot: true
  }, {
    label: '充电片区信息',
    prop: 'districtInfo',
    width: '220',
    slot: true
  }, {
    label: '消费信息',
    prop: 'consumeInfo',

    slot: true
  }, {
    label: '计费方式',
    prop: 'chargeMode',

    slot: true
  }, {
    label: '结束原因',
    prop: 'endReason',

    type:'select',
    dicData:[{
      label:'时间用尽',
      value:'a'
    },{
      label:'电量用尽',
      value:'b'
    },{
      label:'金额用尽',
      value:'c'
    },{
      label:'智能充电',
      value:'e'
    },{
      label:'异常结束',
      value:'o'
    },{
      label:'用户主动结束',
      value:'f'
    },{
      label:'空载结束',
      value:'h'
    }]
  }, {
    label: '退款情况',
    prop: 'refundInfo',

    slot: true
  }, {
    label: '充电状态',

    prop: 'status',
    type: 'select',
    dicData: [
      {
        label: '预充电',
        value: 0
      },
      {
        label: '正在充电',
        value: 1
      },
      {
        label: '未打开充电桩',
        value: 2
      },
      {
        label: '充电失败',
        value: 3
      },
      {
        label: '充电成功',
        value: 4
      },
      {
        label: '结算中',
        value: 5
      }
    ]
  }]
}
